package com.qf.service.impl;

import com.qf.mapper.AuthMapper;
import com.qf.pojo.AuthPojo;
import com.qf.service.IAuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthServiceImpl implements IAuthService {


    @Autowired
    AuthMapper authMapper;

    /**
     * 查询所有的权限
     * @return
     */
    public List<AuthPojo> queryAuths(){
        return authMapper.queryAuths();
    }

}
